import 'package:tender_flutter/generated/json/base/json_convert_content.dart';
import 'package:tender_flutter/generated/json/base/json_field.dart';

class ArticleEntity with JsonConvert<ArticleEntity> {
  int pageNum;
  int pageSize;
  int total;
  int pages;
  @JSONField(name: "list")
  List<ArticleList> xList;
  bool isFirstPage;
  bool isLastPage;
}

class ArticleList with JsonConvert<ArticleList> {
  int id;
  String title;
  String pic;
  int type;
  int views;
  String createDate;
}
